package com.sealer.pattern.creational.abstractfactory.factory;

import com.sealer.pattern.creational.abstractfactory.factory.abs.Provider;
import com.sealer.pattern.creational.abstractfactory.service.Sender;
import com.sealer.pattern.creational.abstractfactory.service.impl.MailSender;

/**
 * Created by sealer on 17/03/28.
 */
public class MailSenderFactory implements Provider {
    @Override
    public Sender newInstance() {
        return new MailSender();
    }
}
